package com.test.demo.service.impl;

import com.test.demo.mapper.StrategyMapper;
import com.test.demo.po.Strategy;
import com.test.demo.service.StrategyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Cenoo on 2017/7/3.
 */

@Service
public class StrategyServiceImpl implements StrategyService {
    @Autowired
    StrategyMapper strategyMapper;
    @Override
    public int insert(Strategy strategy) {
        return 0;
    }

    @Override
    public List<Strategy> selectByLocation(String location) {
        return strategyMapper.selectByLocation(location);
    }
}
